package de.fh.ka.as.car.routing.map;

import java.util.HashMap;
import java.util.Map;

import android.graphics.Point;
import android.graphics.Rect;

public class MapProvider
{ // extends Drawable {

    public MapProvider()
    {
	this.map = new HashMap<Point, MapObject>();
    }

    /**
     * the size of a single grid in cm
     */
    public static final int gridSize = 2;

    /**
     * holds all scanned obstacles in the (sparse) map. to remove an obstacle,
     * delete the entry
     */
    private Map<Point, MapObject> map;

    /**
     * has the outmost positions in left, top, right, bottom.
     */
    private Rect boundaries;

    /**
     * @return the map
     */
    public Map<Point, MapObject> getMap()
    {
	return map;
    }

}
